package top.lyc829.iot_android.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

import top.lyc829.iot_android.R;
import top.lyc829.iot_android.entity.Finger;
import top.lyc829.iot_android.entity.User;

/**
 * @Author lyc
 * @create 2021-06-19 20:49
 */
public class FingerAdapter extends BaseQuickAdapter<Finger, BaseViewHolder> {
    public FingerAdapter() {
        super(R.layout.finger_item);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, Finger finger) {
        baseViewHolder.setText(R.id.tv_finger_name, finger.getFingerName());
    }
}
